Revert "Add ostree-shutdown.service: hide /sysroot and make /etc read-only"
authorEtienne Champetier <e.champetier@ateme.com>
Wed, 3 Sep 2025 18:22:39 +0000 (14:22 -0400)
committerEtienne Champetier <e.champetier@ateme.com>
Thu, 4 Sep 2025 19:04:39 +0000 (15:04 -0400)
commitd71b059987ec205dd76b240db89e7e7c4c59f47b
treec225f5464a7ccbc8d2d665a71c19c5e4a5e197e7
parentded8a3dc69617ac9068a0e29c0b3bbe44802c0c2
Revert "Add ostree-shutdown.service: hide /sysroot and make /etc read-only"

Instead of adding a shutdown service, we rework how we create the mounts.
After the 2 previous commits, sysroot.mount umount works, and
systemd-shutdown will take care of remounting etc.mount read-only and
calling sync() as needed.

This reverts commit d0c454c23637dceda6d7395dd2141b564e3efa47.
Makefile-boot.am
src/boot/ostree-shutdown.service [deleted file]
src/libostree/ostree-impl-system-generator.c
src/switchroot/ostree-remount.c